Jump to content

 Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(19139) + length(1


Recommended Posts

Posted (edited)

I'm trying to connect to one of my modded servers (1.19.2) but everytime I click connect this error comes up [ Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(19139) + length(1) exceeds writerIndex(19139): PooledUnsafeDirectByteBuf(ridx: 19139, widx: 19139, cap: 19139/19139)].

I deleted the jvm argument and added -Dforge.logging.mojang.level=debug instead, as someone else in a thread said to do. 

Plz help me.
here is the pastebin: https://pastebin.com/f7Ry79jy

Edited by iSolazze
Posted

The error indicates a bug in one of your mods networking code.

The jvm argument you added, just enables debug logging for Mojang's networking code.

You don't post a link to your logs/debug.log

Usually with this kind of problem, the only way to find the broken mod is to experiment with removing mods until the problem goes away.

Backup your world before removing mods.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted
  Quote

30Dec.2022 21:57:36.654] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:

Mod ID: 'valhelsia_core', Requested by: 'valhelsia_structures', Expected range: '[1.19.2-0.4.0,)', Actual version: '[MISSING]'

Mod ID: 'yungsapi', Requested by: 'betterstrongholds', Expected range: '[1.19.2-Forge-3.8.0,)', Actual version: '[MISSING]'

Mod ID: 'yungsapi', Requested by: 'yungsbridges', Expected range: '[1.19.2-Forge-3.8.0,)', Actual version: '[MISSING]'

Mod ID: 'valhelsia_furniture', Requested by: 'valhelsia_structures', Expected range: '[1.19.2-1.0.0,)', Actual version: '[MISSING]'

Mod ID: 'yungsapi', Requested by: 'bettermineshafts', Expected range: '[1.19.2-Forge-3.8.0,)', Actual version: '[MISSING]'

Expand  

That doesn't look like the correct log.

It shows an error where you have 5 missing mods.

 

It's only in rare circumstances the debug.log will actually identify a mod with broken networking.

The error normally occurs within netty (a networking library) which knows nothing about minecraft let alone mods.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted

There is no error in that log it just says the client disconnected.

If the error is logged at all it will be on the client.

  Quote

[31Dec.2022 13:27:36.573] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: Pingeds lost connection: Disconnected

[31Dec.2022 13:27:36.573] [Server thread/INFO] [net.minecraft.server.MinecraftServer/]: Pingeds left the game

Expand  

Since you have the debug logging enabled it does list which mods are doing custom networking

  Quote

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'inventorysorter:net' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'puzzleslib:play' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'architectury:network' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'structure_gel:main' : Version test of '2' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'blue_skies:main' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'jei:channel' : Version test of '1.0.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'unexperienced:main' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'guardvillagers:main' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:unregister' : Version test of 'FML3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'nethers_exoticism:nethers_exoticism' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'citadel:main_channel' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'paragon:main' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'upgradednetherite:main' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'easy_villagers:default' : Version test of '1.0.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'fml:loginwrapper' : Version test of 'FML3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'explorerscompass:explorerscompass' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'forge:tier_sorting' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'itemphysic:main' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'magma_monsters:magma_net' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'alexsmobs:main_channel' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'naturescompass:naturescompass' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'fml:play' : Version test of 'FML3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'weaponmaster:yearscnetworking' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'brutalbosses:main' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'creativecore:main' : Version test of '1.0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'byg:network' : Version test of '1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'uteamcore:network' : Version test of '1.17.1-1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'fml:handshake' : Version test of 'FML3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'doggytalents:channel' : Version test of '3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'geckolib3:main' : Version test of '0' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:register' : Version test of 'FML3' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Channel 'forge:split' : Version test of '1.1' from client : ACCEPTED

[31Dec.2022 13:27:32.668] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.NetworkRegistry/NETREGISTRY]: Accepting channel list from client

[31Dec.2022 13:27:32.669] [Netty Server IO #5/DEBUG] [net.minecraftforge.network.HandshakeHandler/FMLHANDSHAKE]: Accepted client connection mod list

Expand  

This should narrow your search a bit? You can also check the issue/bug report pages for these mods.

References to FML are forge's networking handlers. So you can ignore those.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://mclo.gs/bjf9fqs The link is the logs from modrinth  
    • "I want to understand how complex mods with ASM transformation and coremods work, such as Xray or AntiXray. Why do they break when you simply rename packages? What features of their architecture make refactoring difficult? And what techniques are used to protect these mods? I am interested in technical aspects in order to better understand the bytecode and Forge loader system."
    • I can't figure out if you're looking for help trying to steal someone elses work, or cheat at the game....
    • Title: Why Is It So Hard to Rename and Restructure Mods Like Xray or AntiXray? 🤔 Post text: Hey everyone! I’ve been digging into Minecraft modding for a while and have one big question that I can’t figure out on my own. Maybe someone with more experience could help or give me some advice. Here’s the issue: When I take a “normal” Minecraft mod — for example, one that just adds some blocks or new items — I can easily change its structure, package names, or even rebrand it entirely. It’s straightforward. But as soon as I try this with cheat-type mods like XrayMod or AntiXray, everything falls apart. Even if I just rename the classes, refactor the packages, or hide its identity somehow, the mod either breaks or stops working properly. XrayMod in particular is proving to be a nightmare to modify without losing its core function. So my question is — why is this so much harder with cheat mods like Xray? Is there something fundamentally different about how they’re coded, loaded, or protected that prevents simple renaming or restructuring? And if so, how can I actually learn to understand someone else’s cheat mod enough to safely refactor it without breaking the core features? I’ve already been spending over two months trying to figure this out and haven’t gotten anywhere. It feels like there must be some trick or knowledge I’m missing. Would really appreciate any thoughts, tips, or references — maybe there are guides or techniques for understanding cheat-mod internals? Or if you’ve successfully “disguised” a cheat mod like Xray before, I’d love to hear how you did it. Thanks in advance for any help or discussion. ✌️
    • just started making cinamatic contect check it out on my channel or check out my facebook page    Humbug City Minecraft Youtube https://www.youtube.com/watch?v=v2N6OveKwno https://www.facebook.com/profile.php?id=61575866982337  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.